'Declaration
Public Overloads Shared Function GetColorByCT_Color( _ ByVal ctColor As CT_Color, _ ByVal themeColors As ArrayList, _ ByVal indexedRgbColors() As CT_RgbColor, _ ByVal autoColor As Color _ ) As Color
'Usage
Dim ctColor As CT_Color Dim themeColors As ArrayList Dim indexedRgbColors() As CT_RgbColor Dim autoColor As Color Dim value As Color value = ExcelXMLHelpers.GetColorByCT_Color(ctColor, themeColors, indexedRgbColors, autoColor)
public static Color GetColorByCT_Color( CT_Color ctColor, ArrayList themeColors, CT_RgbColor[] indexedRgbColors, Color autoColor )
Parameters
- ctColor
- Object of the CT_Color
- themeColors
- theme colors, get list from themes.xml
- indexedRgbColors
- List of Rgb colors those indexed in Excel file
- autoColor
- when color is automatic color, this color will be set
Return Value
Color